<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>{%block title%}欢迎访问--{{SITE_NAME}}{%endblock%}</title>
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="this is my page">
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<script type="text/javascript">
		APP_ROOT = "{{APP_ROOT}}";
		</script>
		<script type="text/javascript" src="{{APP_ROOT}}media/js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="{{APP_ROOT}}media/js/pub.js"></script>
		<link rel="stylesheet" type="text/css" href="{{APP_ROOT}}media/css/pub.css" media="screen">
		{%block jsAndCss%}{%endblock%}
	</head>
	<body>
		<div id="console">
			{%if user.is_authenticated%} HELLO, {{user}}, 您已经登陆了,
			<a href="{{APP_ROOT}}me/">个人中心</a>
			<a href="{{APP_ROOT}}logout/">退出就点这里!</a> {%else%}
			<a href="{{APP_ROOT}}login/">登 录</a> |
			<a href="{{APP_ROOT}}reg/">注 册</a> {%endif%}
		</div>
		<div id="container">
			<div id="header">
				<ul>
					<li>
						<a href="/">首页</a>
					</li>
					<li>
						<a href="{{APP_ROOT}}office/">写字楼</a>
					</li>
					<li>
						公司
					</li>
					<li>
						招聘
					</li>
					<li>
						点评
					</li>
				</ul>
			</div>
			<div id="mainContent">
				<div id="sidebar">
					{%block extend_left%}{%endblock%}
				</div>
				<div id="sidebar2">
					{%block extend_right%}{%endblock%}
				</div>
				<div id="content">
					{%block main%}{%endblock%}
				</div>
			</div>
			<div id="footer">
				<ul>
					<li>
						关于本站
					</li>
					<li>
						联系我们
					</li>
					<li>
						<a href="/admin/">系统管理</a>
					</li>
				</ul>
				<ul>
					<li>
						<a href="/admin/">powerd by Django, 网站备案号: {{BEIAN}}</a>
					</li>
				</ul>
			</div>
		</div>
	</body>
</html>
